½Ŀ¼:

7.3. 
   7.3.1. ȡб
   7.3.2. Ⱥ
   7.3.3. 
   7.3.4. ޸
   7.3.5. ɾ
   
7.3. :

     ˵:
     ÿӦһ.
     
7.3.1. ȡб:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=permit&cmd=list
     
     c.  URL :
        
        ProtectID - ʶ ID;
        SessionID - ¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        ProtectID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        NumOfLists:
        б, бж;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        PermitID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        PermitUrl:
        ƥʽ;
        
        Icase:
        ǷԴСд ignore case, (0), (1);
        
        Note:
        ע˵,  500 ֽ;
        
7.3.2. ѯ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=permit&cmd=query
     
     c.  URL :
        
        ProtectID - ʶ ID;
        PermitID - ʶ ID;
        SessionID - ¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        ProtectID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        NumOfLists:
         1, Ϊ 0;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        PermitID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        PermitUrl:
        ƥʽ;
        
        Icase:
        ǷԴСд ignore case, (0), (1);
        
        Note:
        ע˵,  500 ֽ;

7.3.3. :
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=permit&cmd=add
     
     c.  URL :
        
        ProtectID - ʶ ID;
        PermitUrl - ƥʽ;
        Icase - ǷԴСд ignore case, (0), (1);
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProtectID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        PermitID:
        ½ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

7.3.4. ޸:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=permit&cmd=modify
     
     c.  URL :
        
        ProtectID - ʶ ID;
        PermitID - Ҫ޸ĵʶ ID;
        PermitUrl - ƥʽ;
        Icase - ǷԴСд ignore case, (0), (1);
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProtectID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        PermitID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

7.3.5. ɾ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=permit&cmd=del
     
     c.  URL :
        
        ProtectID - ʶ ID;
        PermitID - Ҫɾʶ ID;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProtectID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        PermitID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
